extends ActorV

class_name Player

var uid=0
var u_name='aaa'

func start(i_actorM:ActorM):
	.start(i_actorM)
	if _playerBrand:
		_playerBrand.set_name(u_name)
	_wDic.expRate=W.w2(self,'_wfn_expRate').onChange(self,'_expRate_change')

func _process(delta):
	pass
func _wfn_expRate():
	return float(actorM.experience-actorM.pre_experience)/(actorM.next_experience-actorM.pre_experience)
func _expRate_change(cur,pre):
	if _playerBrand:
		_playerBrand.set_exp(cur)
	pass
func dispose():
	for w in _wDic.values():
		w.dispose()
	.dispose()
